SftTree/NET 2.0

ColumnClass Class

Softel vdm, Inc.

  ColumnClass Class (Softelvdm.SftTreeNET Namespace)

An instance of the ColumnClass class represents one individual column in a SftTree/NET control.

There is one instance of the ColumnClass class for each column in a SftTree/NET control.  Individual columns can be accessed using the control's Columns property. Columns can be added and removed using the Columns.Count property. Certain default properties and behavior for all columns can be defined using the control's Columns.Item property.

VB   

Public Class ColumnClass Inherits Object

C#   

public class ColumnClass : Object

C++   

public ref class ColumnClass : public Object


Public

Constructors

Properties

Fields

Methods

Events

Protected

Constructors

Properties

Fields

Methods

 


Public Constructors

Description

public constructorColumnClass Constructor

Initializes a new instance of the ColumnClass class.

   

Public Properties

Description

public property_Width

Returns the real width of the column.

public propertyAllowMergeFromPreviousDefault

Defines the CellBaseClass.AllowMergeFromPrevious property default for cells in this column, whether cells in this column allow merging with cells in the previous column.

public propertyAllowMergeFromUpperDefault

Defines the CellBaseClass.AllowMergeFromUpper property default for cells in this column, whether cells in this column allow merging with cells above, in the same column.

public propertyBackColor

Defines the column's default background color for cells in the item area that are not selected.

public propertyBackColorSelected

Defines the column's default background color for cells in the item area that are selected.

public propertyForeColor

Defines the column's default foreground color for cells in the item area that are not selected.

public propertyForeColorSelected

Defines the column's default foreground color for cells in the item area that are selected.

public propertyGridLines

Defines the default grid lines style for cells in this column's item area.

public propertyIndex

Returns the column's zero-based index in the column collection.

public propertyInLeftPane

Returns whether this column is located in the left pane.

public propertyIsFirstDisplayed

Returns whether this column is the first column displayed in the left pane.

public propertyIsFirstDisplayedAndVisible

Returns whether this column is the first displayed column with a width greater than 0 in the left pane.

public propertyIsFirstDisplayedAndVisibleInRightPane

Returns whether this column is the first displayed column with a width greater than 0 in the right pane.

public propertyIsFirstDisplayedInRightPane

Returns whether this column is the first column displayed in the right pane.

public propertyIsLastDisplayed

Returns whether this column is the last column displayed in the right pane.

public propertyIsLastDisplayedAndVisible

Returns whether this column is the last displayed column with a width greater than 0 in the right pane.

public propertyIsLastDisplayedAndVisibleInLeftPane

Returns whether this column is the last displayed column with a width greater than 0 in the left pane.

public propertyIsLastDisplayedInLeftPane

Returns whether this column is the last column displayed in the left pane.

public propertyKeepPosition

Defines whether this column must remain in its current position and cannot be reordered.

public propertyMaxWidth

Defines the maximum width of the column while the user resizes the column.

public propertyMergeWithLowerDefault

Defines the CellBaseClass.MergeWithLower property default for cells in this column, whether cells in this column merge with cells below, in the same column.

public propertyMergeWithNextDefault

Defines the CellBaseClass.MergeWithNext property default for cells in this column, whether cells in this column merge with cells in the next column.

public propertyMinWidth

Defines the minimum width of the column while the user resizes the column.

public propertyNextDisplayed

Returns the next displayed column.

public propertyNextDisplayedIndex

Returns the zero-based index of the next displayed column.

public propertyPosition

Defines the column's zero-based display position, used to visually reorder columns.

public propertyPreviousDisplayed

Returns the previous displayed column.

public propertyPreviousDisplayedIndex

Returns the zero-based index of the previous displayed column.

public propertyReorderable

Defines whether this column is reorderable.

public propertyResizable

Defines whether this column is resizable.

public propertyShowHierarchy

Defines whether this column displays hierarchy information (tree lines, expand/collapse buttons, item image).

public propertyShowToolTips

Defines whether tooltips are shown for cells in this column's item area.

public propertyWidth

Defines the column's width, adjusting for open-ended columns.

  

Public Methods

Description

public methodEqualsinherited from System.Object

Determines whether the specified Object is equal to the current Object.

public methodGetHashCodeinherited from System.Object

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.

public methodGetOptimalWidth

Calculates the column's optimal width so that the cell contents in this column can be displayed without being clipped horizontally.

public methodGetTypeinherited from System.Object

Gets the Type of the current instance.

public methodMakeOptimal

Sets the column's optimal width so that the cell contents in this column can be displayed without being clipped horizontally.

public methodstatic / sharedReferenceEqualsinherited from System.Object

Determines whether the specified Object instances are the same instance.

public methodScrollIntoView

Horizontally scrolls the column into view so it is displayed in the control's client area.

public methodToStringinherited from System.Object

Returns a String that represents the current Object.

  

Protected Methods

Description

protected methodFinalizeinherited from System.Object

Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

protected methodMemberwiseCloneinherited from System.Object

Creates a shallow copy of the current Object.

  

See Also     Softelvdm.SftTreeNET Namespace


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com